/*
 * @(#)FormSection.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form.bean;

import java.util.ArrayList;
import java.util.List;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  FormSection.java

  This class is the serializable bean reflecting business logic uses.

    @author           Scott Tong
    @company          DCIVision Limited
    @creation date    20/12/2003
    @version          $Revision: 1.15 $
*/

public class FormSection extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.15 $";

  static final long serialVersionUID = 14638497233620992L;

  private String title = null;
  private String titleAlt = null;
  private String description = null;
  private String descriptionAlt = null;
  private String sectionFontColor = null;
  private String sectionFontSize = null;
  private String sectionFontType = null;
  private String sectionFontStyle = null;
  private String sectionPosition= null;
  private String subSection = null;
  private boolean isSelected = false;
  private String isDelete = null;
  private String permission = null;
  private List formElementList = new ArrayList();

  public FormSection() {
    super();
  }

  public String getTitle() {
    return(this.title);
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getTitleAlt() {
    return(this.titleAlt);
  }

  public void setTitleAlt(String titleAlt) {
    this.titleAlt = titleAlt;
  }

  public String getDescription() {
    return(this.description);
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public String getDescriptionAlt() {
    return(this.descriptionAlt);
  }


    public String getsectionFontColor() {
      return(this.sectionFontColor);
    }

    public void setsectionFontColor(String sectionFontColor) {
      this.sectionFontColor = sectionFontColor;
    }

    public String getsectionFontSize() {
      return(this.sectionFontSize);
    }

    public void setsectionFontSize(String sectionFontSize) {
      this.sectionFontSize = sectionFontSize;
    }

    public String getsectionFontType() {
      return(this.sectionFontType);
    }

    public void setsectionFontType(String sectionFontType) {
      this.sectionFontType= sectionFontType;
    }

    public String getsectionFontStyle() {
      return(this.sectionFontStyle);
    }

    public void setsectionFontStyle(String sectionFontStyle) {
      this.sectionFontStyle= sectionFontStyle;
    }

    public String getsectionPosition() {
      return(this.sectionPosition);
    }

    public void setsectionPosition(String sectionPosition) {
      this.sectionPosition= sectionPosition;
    }


  public void setDescriptionAlt(String descriptionAlt) {
    this.descriptionAlt = descriptionAlt;
  }

  public List getFormElementList() {
    return(this.formElementList);
  }

  public void setFormElementList(List formElementList) {
    this.formElementList = formElementList;
  }

  public void setSubSection(String subSection) {
    this.subSection = subSection;
  }

  public String getSubSection() {
    return (this.subSection);
  }

  public void setIsSelected(boolean isSelected) {
    this.isSelected = isSelected;
  }

  public boolean getIsSelected() {
    return (this.isSelected);
  }

  public String getIsDelete() {
      return isDelete;
  }

  public void setIsDelete(String isDelete) {
      this.isDelete = isDelete;
  }
  
  public String getPermission() {
    return permission;
  }
  
  public void setPermission(String permission) {
    this.permission = permission;
  }
  
  public Object clone() {
    FormSection obj = new FormSection();
    obj.setID(this.getID());
    obj.setTitle(this.getTitle());
    obj.setTitleAlt(this.getTitleAlt());
    obj.setDescription(this.getDescription());
    obj.setDescriptionAlt(this.getDescriptionAlt());
    obj.setRecordStatus(this.getRecordStatus());
    obj.setUpdateCount(this.getUpdateCount());
    obj.setCreatorID(this.getCreatorID());
    obj.setCreateDate(this.getCreateDate());
    obj.setUpdaterID(this.getUpdaterID());
    obj.setUpdateDate(this.getUpdateDate());
    obj.setCreatorName(this.getCreatorName());
    obj.setUpdaterName(this.getUpdaterName());

    obj.setsectionFontColor(this.getsectionFontColor());
    obj.setsectionFontSize(this.getsectionFontSize());
    obj.setsectionFontStyle(this.getsectionFontStyle());
    obj.setsectionFontType(this.getsectionFontType());
    obj.setsectionPosition(this.getsectionPosition());
    obj.setSubSection(this.getSubSection());
    return(obj);
  }
}
